package daos

import aerolinea.Aerolinea

class AerolineaDAO {
	def get(String id){
		(SessionManager.getSession().get(Aerolinea,id))as Aerolinea
	}

	def save(Aerolinea a) {
		SessionManager.getSession().saveOrUpdate(a);
	}
}